From 2aab6a3a7f4518bd523b04c0b7502b928de834b3 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Wed, 31 Aug 2011 15:15:41 +0100 Subject: [PATCH] nestedsvm: VMRUN doesn't use nextrip VMRUN does not use nextrip. So remove pointless assignment. Signed-off-by: Christoph Egger --- xen/arch/x86/hvm/svm/nestedsvm.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/arch/x86/hvm/svm/nestedsvm.c b/xen/arch/x86/hvm/svm/nestedsvm.c index ba7683b25a..bbd8866c1d 100644 --- a/xen/arch/x86/hvm/svm/nestedsvm.c +++ b/xen/arch/x86/hvm/svm/nestedsvm.c @@ -493,8 +493,7 @@ static int nsvm_vmcb_prepare4vmrun(struct vcpu *v, struct cpu_user_regs *regs) n2vmcb->lbr_control.bytes = n1vmcb->lbr_control.bytes | ns_vmcb->lbr_control.bytes; - /* NextRIP */ - n2vmcb->nextrip = ns_vmcb->nextrip; + /* NextRIP - only evaluated on #VMEXIT. */ /* * VMCB Save State Area -- 2.30.2